package com.yhc.dao.impl;

import com.yhc.dao.UserDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @author yhc
 * @create 2021-07-10-15:39
 */
//@Component("userDao")
    @Repository("userDao")
public class UserDaoImpl implements UserDao {
    public void save() {
        System.out.println("saving....");
    }
    public void init(){
        System.out.println("initialize");
    }
    public void destory(){
        System.out.println("destory");
    }
}
